package com.youlai.boot.system.service;

import com.youlai.boot.system.model.entity.LpsOrderCdjg;
import com.youlai.boot.system.model.form.LpsOrderCdjgForm;
import com.youlai.boot.system.model.query.LpsOrderCdjgQuery;
import com.youlai.boot.system.model.vo.LpsOrderCdjgVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 触动机构服务类
 *
 * @author lwb
 * @since 2025-07-13 16:03
 */
public interface LpsOrderCdjgService extends IService<LpsOrderCdjg> {

    /**
     *触动机构分页列表
     *
     * @return
     */
    IPage<LpsOrderCdjgVO> getLpsOrderCdjgPage(LpsOrderCdjgQuery queryParams);

    /**
     * 获取触动机构表单数据
     *
     * @param id 触动机构ID
     * @return
     */
     LpsOrderCdjgForm getLpsOrderCdjgFormData(Long id);

    /**
     * 新增触动机构
     *
     * @param formData 触动机构表单对象
     * @return
     */
    boolean saveLpsOrderCdjg(LpsOrderCdjgForm formData);

    /**
     * 修改触动机构
     *
     * @param id   触动机构ID
     * @param formData 触动机构表单对象
     * @return
     */
    boolean updateLpsOrderCdjg(Long id, LpsOrderCdjgForm formData);

    /**
     * 删除触动机构
     *
     * @param ids 触动机构ID，多个以英文逗号(,)分割
     * @return
     */
    boolean deleteLpsOrderCdjgs(String ids);

}
